package com.arouter.demo.searchmodule.interceptor;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.widget.TextView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.arouter.demo.baselib.router.RouterPath;
import com.arouter.demo.searchmodule.R;

/**
 *
 */
@Route(path = RouterPath.INTERCEPTOR_TEST)
public class TestInterceptorActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_interceptor);

        TextView tv = findViewById(R.id.tv_receive_value);

        String extra = getIntent().getStringExtra("extra");
        if (!TextUtils.isEmpty(extra)){
            tv.setText(extra);
        }


    }
}
